# 获取2024年工作日的信息
import datetime
import pandas as pd

def get_workdays(year):
    workdays = []
    for month in range(1, 13):
        for day in range(1, 32):
            try:
                date = datetime.date(year, month, day)
            except ValueError:
                break
            if date.weekday() < 5:
                workdays.append(date)
    return workdays